package com.lujianfei.powerinput.ui.noteList.base;

import android.app.Activity;
import android.content.Intent;
import android.view.View;
import android.widget.AdapterView;

import java.util.List;

public interface NoteListContract {
    interface View{

        Activity currentActivity();

        void updateList(List<String> data);

        void showEmptyView();

        void hideEmptyView();
    }
    interface Presenter{

        void onTitleLeftImageClick();

        void initData();

        void onTitleRightImageClick();

        void onActivityResult(int requestCode, int resultCode, Intent data);

        void onItemClick(AdapterView<?> adapterView, android.view.View view, int i, long l);

        void onItemLongClick(AdapterView<?> adapterView, android.view.View view, int i, long l);

        void onDestroy();
    }
}
